package com.boyuan.huijiaoyu;

import com.view.zoomimage.ZoomImageView;
import android.os.Bundle;
import android.content.Intent;
import android.graphics.Bitmap;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;

public class ZoomActivity extends BaseActivity implements OnClickListener{


	private ZoomImageView iamge;
	private int width;
	private int height;

	@SuppressWarnings("deprecation")
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_zoom);
//		iamge = (ZoomImageView) findViewById(R.id.zoomImageView1);
//		Intent intent = getIntent();
//		if(intent != null){
//			Bitmap bitmap = intent.getParcelableExtra("bitmap");
//			iamge.setImageBitmap(bitmap);
//		}
		
		
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.zoom, menu);
		return true;
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.layout:
			finish();
			break;

		default:
			break;
		}
	}

	@Override
	public void backClicked() {
		finish();
	}


}
